import fetch from '@/common/fetch'




//获取 获取比分列表 足球
export const getFootballScoreList = (params) => fetch({
  url: "/web/sportNetWork/score/football/schedule",
  params
})



//获取当前关联赛事的直播信息
export const getLiveRoomDetail = (params) => fetch({
  url: "/web/sportNetWork/match/getMatchLiveDetail",
  params
})



//获取 比分列表 篮球
export const getBasketballScoreList = (params) => fetch({
  url: "/web/sportNetWork/score/basketball/schedule",
  params
})


//获取足球比赛事实事件
export const getFootballIncidents = (id) => fetch({
  url: `/match/web/football/match/incidents/${id}`
})



// 获取技术统计详情
export const getFootballStatistics = (id) => fetch({
  url: `/match/web/football/match/detail/${id}`
})



//获取 足球 数据分析栏（联赛积分+近期战绩）
export const getFootballAnalysis = (id) => fetch({
  url: `/match/web/football/match/data/${id}`
})


//获取足球指数走势
export const getFootballIndexSum = (id) => fetch({
  url: `/match/web/football/match/odds/${id}`
})





//获取篮球比赛详情
export const getBasketballDetail = (matchId) => fetch({
  url: `/match/web/basketball/matchDetail`,
  params: {
    matchId
  }
})

//获取篮球 数据分析栏（联赛排名+近期战绩）
export const getBasketballAnalysis = (id) => fetch({
  url: `/match/web/basketball/data/${id}`
})
//获取篮球指数走势
export const getBasketballIndexSum = (id) => fetch({
  url: `/match/web/basketball/odds/${id}`
})